package com.ling.pl.autoproject.definition.entity.model;

import com.ling.pl.core.commons.annotation.ModelProperty;

import javax.persistence.Column;

/**
 * 关系界面
 */
public class EntityRelationPage {
    @Column(name = "ENTITY_ID", length = 36)
    @ModelProperty(comment = "实体")
    String entityId;

    @Column(name = "NAME", length = 36)
    @ModelProperty(comment = "界面名称")
    String name;

    @Column(name = "TITLE_I18N", length = 36)
    @ModelProperty(comment = "页面标题")
    String titleI18n;

    @Column(name = "ICON", length = 36)
    @ModelProperty(comment = "页面图标")
    String icon;

    @Column(name = "SORT_ORDER", length = 36)
    @ModelProperty(comment = "页面图标")
    Integer sortOrder;

    @Column(name = "PAGE_GROUP_ID", length = 36)
    @ModelProperty(comment = "界面分组id")
    String pageGroupId;

    @Column(name = "REMARK", length = 500)
    @ModelProperty(comment = "备注")
    String remark;

    //关系页面
    @Column(name = "ENTITY_ID", length = 36)
    @ModelProperty(comment = "属性")
    String relationId;

    @Column(name = "ENTITY_RELATION_VIEW_ID", length = 36)
    @ModelProperty(comment = "关系数据展现视图")
    String entityRelationViewId;

    @Column(name = "VIEW_PARAMS", length = 36)
    @ModelProperty(comment = "视图参数")
    String viewParams;
}
